import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import VueLazyload from 'vue-lazyload'

Vue.config.productionTip = false

const loadimage = require('@/assets/images/loading.jpg')
const errorimage = require('@/assets/images/error.jpg')
Vue.use(VueLazyload, {
  preLoad: 1,
  error: errorimage,
  loading: loadimage
})

new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
